<!DOCTYPE html>
<html>
<!-- head -->
{include file="common/page/head"}
<link rel="stylesheet" href="__app__/admin/view/AssembleTemplate/templateList/templateList.css" />
<body>
<!---------------- 模板列表 ------------------->

<!-- 页头 -->
{include file="common/page/header"}
<!-- 主体 -->
<div class="content container-fluid {if $leftBarScale eq '1'}  scale {/if} ">
    <div class="row">
        <div class="col-md-2 left-section">
            <!-- 左导航菜单 -->
            {include file="common/page/menu"}
        </div>
        <div class="col-md-10 right-section">
            <!--内容区域-->
            <h3>
                <i class="icon iconfont">{$Think.session.currentMenu.icon}</i>模板列表
                <div class="operation-div">
                	{if $add eq 1}
                    <a class="btn btn-success" href="addTemplate">添加</a>
                    {/if}
                </div>
            </h3>
            <div class="inner-section row">
                <div id="content">
                    <div class="search-param-panel">
                        <form class="search-param-form" id="search-param-form">
                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            	{if $select  eq 1}
                                <tr>
                                    <td width="80px">
                                        <label for="name">模板名称:&nbsp;</label>
                                    </td>
                                    <td width="140px">
                                        <input id="name" name="name" type="text" class="input-normal search"  />
                                    </td>

                                    <td>
                                        <div class="list-action-area">
                                            <a href="javascript:;" class="search-button btn btn-primary btn-sm">查询</a>
                                        </div>
                                    </td>
                                </tr>
                                {/if}
                            </table>
                        </form>
                    </div>
                    <div class="list-title">
                        <div class="list-title-panel">
                            <span class="glyphicon glyphicon-list"></span>列表</span>
                        </div>
                    </div>
                    <div class="union-operate">
                    	{if $delete eq 1}
                    	<a href="javascript:;" class="btn btn-default btn-sm delete-batch">批量删除</a>
                    	{/if}
                    </div>
                    <div class="table-content" id = "list_container">
                        <table id="list-table" class="list-table table-hover table-bordered" cellspacing="0" cellpadding="0" border="0" width="100%" align="center">
                            <tbody>
                            </tbody>
                        </table>
                    </div>
                    <!--分页-->
                    <div id="page-selection"></div>

                    <div class="fn-clear"></div>

                    <!-- 列表底部 -->
                    <div class="list-bottom">
                        <div class="list-bottom-panel">
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
</div>

<!-- 页脚 -->
{include file="common/page/footer"}

<!-- jsfiles -->
{include file="common/page/jsfiles"}
<script src="__static__/js/My97DatePicker/WdatePicker.js"></script>
<script src="__static__/js/jquery.bootpag/jquery.bootpag.min.js"></script>
<script src="__app__/admin/view/AssembleTemplate/templateList/templateList.js"></script>
</body>
</html>
